home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950329-19950528
/
000455_news@columbia.edu_Thu May 25 18:47:43 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA24560
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 25 May 1995 14:47:53 -0400
Received: by apakabar.cc.columbia.edu id AA28474
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 25 May 1995 14:47:50 -0400
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit under MS-Windows
Date: 25 May 1995 18:47:43 GMT
Organization: Columbia University
Lines: 47
Message-Id: <3q2jcf$rpj@apakabar.cc.columbia.edu>
References: <3q04p0$1ldu@ns2-1.CC.Lehigh.EDU> <heliosD951IA.IC8@netcom.com>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <heliosD951IA.IC8@netcom.com>,
Thomas David Nichols <helios@netcom.com> wrote:
>jmt7@Lehigh.EDU wrote:
>
>: We use Kermit 3.14 very heavily on our campus. From DOS everything
>: works great. From MS-Windows, however, sometimes it works but often our
>: users will get a message similar to either of these below:
>
>: "unknown hardware for port, using..."
>
>When I get this, I just repeat the "take mscustom.ini" command, and the
>second time, it works. I don't know why. The error occurs after I have
>used a Windows comm program, never when I start with Kermit. Your
>mscustom.ini script can test \v(port) to see whether it is a COM or a BIOS
>and stop in case of an error, but I haven't been able to find a point to
>branch back to in order to fix the problem automatically.
>--
>David Nichols <helios@netcom.com> Heliotrope Quality Systems
Windows and/or Windows communications programs tamper with the PC BIOS,
where Kermit goes to find out what ports are available and what their
addresses (and IRQs) are. The solution to this problem is to supply this
information to Kermit yourself.
Here is a macro you can use to set your port under Windows. MS-DOS
Kermit 3.14 is required.
define PORT -
if not = \v(argc) 2 end 1 Port number required, -
if not = 0 \findex(:\%1:,:1:2:3:4:) forward PORT\%1, -
end 1 \%1 - bad port number, -
:PORT1, set com1 \x03f8 4, set port 1, end \v(status), -
:PORT2, set com2 \x02f8 3, set port 2, end \v(status), -
:PORT3, set com3 \x03e8 4, set port 3, end \v(status), -
:PORT4, set com4 \x02e8 3, set port 4, end \v(status)
Put this macro definition in your MSCUSTOM.INI file and then just tell
Kermit "port 1", "port 2", "port 3", or "port 4" instead of "set port 1",
etc, and everything should work as expected.
IMPORTANT: The addresses and IRQs are the most common ones, but they are
not going to work on every machine. PS/2s have different addresses and IRQs
for COM3 and COM4. Many add-on cards -- especially internal modems --
might use different IRQs altogether, like 5. Again, see KERMIT.BWR for the
gruesome details.
- Frank